/*
 * -
 *  ============LICENSE_START=======================================================
 *  Copyright (C) 2022 Nordix Foundation.
 *  ================================================================================
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 *  SPDX-License-Identifier: Apache-2.0
 *  ============LICENSE_END=========================================================
 */

@import "../../../../../assets/styles/sprite-old";
@import "../../../../../assets/styles/mixins_old";

.workspace-properties {

    width: 93%;
    display: inline-block;

    #left-top-bar {
        float: left;
        width: 200px;

        ::-webkit-input-placeholder {
            font-style: italic;
        }

        :-moz-placeholder {
            font-style: italic;
        }

        ::-moz-placeholder {
            font-style: italic;
        }

        :-ms-input-placeholder {
            font-style: italic;
        }

        #properties-count {
            font-weight: bold;
            float: left;
        }

        #search-by-name {
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
            width: 290px;
            height: 32px;
            line-height: 32px;
            border: 1px solid @main_color_o;
            text-indent: 10px;
        }

        .search-button {
            .hand;
            cursor: pointer;
            float: right;
            position: relative;
            top: -22px;
            right: -80px;
        }
    }

    .delete-col-header {
        .sprite();
        .sprite.e-sdc-small-icon-delete();
    }

    .table {
        height: 100%;
        min-height: 500px;
        margin-bottom: 0;
    }

    .data-row {
        .table-delete-btn {
            display: none !important;
        }

        &:hover {
            .table-delete-btn {
                display: inline-block !important;
            }
        }
    }

    .table-container-flex {
        margin-top: 0;
        overflow: scroll;
        &::-webkit-scrollbar-track {
            border: 0;
        }

        .text {
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
            white-space: nowrap;
        }

        .flex-item:nth-child(1) {
            flex-grow: 15;

            a {
                .hand
            }
        }

        .flex-item:nth-child(2) {
            flex-grow: 6;
        }

        .flex-item:nth-child(3) {
            flex-grow: 6;
        }

        .flex-item:nth-child(4) {
            flex-grow: 3;
        }

        .flex-item:nth-child(5) {
            flex-grow: 20;
            white-space: normal;
        }

        .flex-item:nth-child(6) {
            flex-grow: 3;
            padding-top: 10px;
        }

    }

}
